﻿<Window x:Class="tscsclassgen.ResultDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ResultDialog" Height="300" Width="600">
    <Grid>
        <StackPanel Orientation="Horizontal" Margin="0,0,0,25">
            <StackPanel Orientation="Vertical" Width="280" Margin="5">
                <TextBlock>TypeScript Code:</TextBlock>
                <TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="180" IsReadOnly="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" x:Name="TextBoxTS" IsReadOnlyCaretVisible="True"></TextBox>
                <Button Content="Copy TypeScript Source" VerticalAlignment="Bottom" Margin="0,5,0,0" x:Name="CopyTS" Click="CopyTS_Click"></Button>
            </StackPanel>
            <StackPanel Orientation="Vertical" Width="280" Margin="5">
                <TextBlock>C# Code:</TextBlock>
                <TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="180" IsReadOnly="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" x:Name="TextBoxCS" IsReadOnlyCaretVisible="True"></TextBox>
                <Button Content="Copy C# Source" VerticalAlignment="Bottom" Margin="0,5,0,0" x:Name="CopyCS" Click="CopyCS_Click"></Button>
            </StackPanel>
        </StackPanel>
        <Button x:Name="ButtonClose" HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="Close" Width="100" Margin="3" IsCancel="True" IsDefault="True"></Button>
    </Grid>
</Window>
